﻿using SharpDX;

namespace FadeGameFramework.UI
{
    public class Button : Control
    {
        public Button(string[] bgImagePath) {
            for (var i = 0; i < bgImagePath.Length; i++) {
                BackgroundImageCache[i] = Game.Instance.ResourcesManager.LoadBitmap(bgImagePath[i]);
            }
            Texture = BackgroundImageCache[0];
            Size = new Size2(Texture.PixelSize.Width, Texture.PixelSize.Height);
        }

        public override void Update(float dt) {}
    }
}